home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 71 / MOBICLIC 71.ISO / mac / DATA / COMMUN / temp0001 / 00231_Script_GESTION_BTON_CLOSE_ZAPETTE < prev    next >
Text File  |  2004-12-05  |  940b  |  37 lines

  1. global gL_Zap
  2. property p_cettePiste, p_Nodepiste,p_nom_Acteur
  3. ----------------------------------
  4. on beginsprite me
  5.   p_Nodepiste = me.spriteNum
  6.   p_cettePiste = sprite(p_Nodepiste)
  7.   p_nom_Acteur = p_cettePiste.member.name
  8. end
  9. ----------------------------------- 
  10. on mouseEnter
  11.   if the pauseState = 1 then exit
  12.   cursor 280
  13.   p_cettePiste. member = p_nom_Acteur&"_R"
  14.   member("TITRE_RUB").text = "Fermer"
  15.   updateStage
  16. end
  17. ----------------------------------- 
  18. on mouseWithin
  19.   if the pauseState = 1 then exit
  20.   cursor 280
  21. end
  22. ---------------------------------
  23. on mouseLeave
  24.   if the pauseState = 1 then exit
  25.   cursor -1
  26.   u = localparam("MISC","ZTITLE")
  27.   if not(voidP(u)) then member("TITRE_RUB").text =  u
  28.   puppetsprite  p_Nodepiste , FALSE
  29. end
  30. ----------------------------------- 
  31. on mouseUp
  32.   if the pauseState = 1 then exit
  33.   cursor -1
  34.   gL_Zap[1].close()
  35. end
  36. ----------------------------------- 
  37.